package su.order.entity;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class OrderEntity implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	/*  */
	private int  id;
			
	/* 订单类型(1销售，2退货) */
	private int  orderType;
			
	/* 客户id */
	private int  customerId;
			
	/* 业务员id */
	private int  ywyId;
			
	/* 经办人 */
	private String  operator;
			
	/* 联系方式 */
	private String  contact;
			
	/* 是否需要开票(1是2否) */
	private int  invoice;
			
	/* 开票状态(0未开票，1已开票，2已审核) */
	private int  invoiceStatus;
			
	/* 税金 */
	private double  tax;
			
	/* 订单描述 */
	private String  odesc;
			
	/* 下单时间 */
	private Date  orderCreateTime;
			
	/* 提交仓库时间 */
	private Date  storageTime;
			
	/* 发货时间 */
	private Date  shipmentTime;
			
	/* 订单状态(0失效，1新建，2提交仓库，3已备货，4提交发货,5已发货) */
	private int  status;
			
	/* 结算状态(0未结算，1部分结算，2已结算) */
	private int  settlementStatus;

	/* 运费 */
	private double  totalShipment;
			
	/* 订单总价 */
	private double  totalprice;
			
	/* 总提留 */
	private double  totalpayment;
			
	/* 总回款 */
	private double  totalpay;
	
	/* 客户姓名，用于显示 */
	private String customerName;
	
	/* 订单的产品项列表 */
	private List<OrderProductEntity> orderProductEntities;
			
	
	public List<OrderProductEntity> getOrderProductEntities() {
		return orderProductEntities;
	}

	public double getTotalShipment() {
		return totalShipment;
	}

	public void setTotalShipment(double totalShipment) {
		this.totalShipment = totalShipment;
	}

	public void setOrderProductEntities(
			List<OrderProductEntity> orderProductEntities) {
		this.orderProductEntities = orderProductEntities;
	}

	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}	
	public int getOrderType() {
		return orderType;
	}
	
	public void setOrderType(int orderType) {
		this.orderType = orderType;
	}	
	public int getCustomerId() {
		return customerId;
	}
	
	public void setCustomerId(int customerId) {
		this.customerId = customerId;
	}	
	public int getYwyId() {
		return ywyId;
	}
	
	public void setYwyId(int ywyId) {
		this.ywyId = ywyId;
	}	
	public String getOperator() {
		return operator;
	}
	
	public void setOperator(String operator) {
		this.operator = operator;
	}	
	public String getContact() {
		return contact;
	}
	
	public void setContact(String contact) {
		this.contact = contact;
	}	
	public int getInvoice() {
		return invoice;
	}
	
	public void setInvoice(int invoice) {
		this.invoice = invoice;
	}	
	public int getInvoiceStatus() {
		return invoiceStatus;
	}
	
	public void setInvoiceStatus(int invoiceStatus) {
		this.invoiceStatus = invoiceStatus;
	}	
	public double getTax() {
		return tax;
	}
	
	public void setTax(double tax) {
		this.tax = tax;
	}	
	public String getOdesc() {
		return odesc;
	}
	
	public void setOdesc(String odesc) {
		this.odesc = odesc;
	}	
	public Date getOrderCreateTime() {
		return orderCreateTime;
	}
	
	public void setOrderCreateTime(Date orderCreateTime) {
		this.orderCreateTime = orderCreateTime;
	}	
	public Date getStorageTime() {
		return storageTime;
	}
	
	public void setStorageTime(Date storageTime) {
		this.storageTime = storageTime;
	}	
	public Date getShipmentTime() {
		return shipmentTime;
	}
	
	public void setShipmentTime(Date shipmentTime) {
		this.shipmentTime = shipmentTime;
	}	
	public int getStatus() {
		return status;
	}
	
	public void setStatus(int status) {
		this.status = status;
	}	
	public int getSettlementStatus() {
		return settlementStatus;
	}
	
	public void setSettlementStatus(int settlementStatus) {
		this.settlementStatus = settlementStatus;
	}	
	public double getTotalprice() {
		return totalprice;
	}
	
	public void setTotalprice(double totalprice) {
		this.totalprice = totalprice;
	}	
	public double getTotalpayment() {
		return totalpayment;
	}
	
	public void setTotalpayment(double totalpayment) {
		this.totalpayment = totalpayment;
	}	
	public double getTotalpay() {
		return totalpay;
	}
	
	public void setTotalpay(double totalpay) {
		this.totalpay = totalpay;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}	

}

